package com.yezao.processor.ktFile

import java.lang.StringBuilder


class KtFileObject {
    var fileHeader:KtFileHeader?=null
    var fileBody:KtClassBody?=null

    fun setHeader(header: KtFileHeader){
        fileHeader = header
    }

    fun setBody(body:KtClassBody){
        fileBody = body
    }

    fun toKtFile():String{
        val stringBuilder = StringBuilder()
        stringBuilder.append(fileHeader.toString())
        stringBuilder.append(fileBody.toString())
        return stringBuilder.toString()
    }

}